
if(CONFIG_APP_UT)
    add_executable(utest utest.c)
    target_include_directories(utest PRIVATE
        ${PROJECT_ROOT}/include
        ${AUTOGEN_KCONFIG})
    target_link_libraries(utest ${QELIB})
endif()

if(CONFIG_ISP_BPC)
    add_executable(bpc-test bpc-test.c)
    target_include_directories(bpc-test PRIVATE 
        ${PROJECT_ROOT}/include
        ${PROJECT_ROOT}/include/isp
        ${AUTOGEN_KCONFIG})
    target_link_libraries(bpc-test ${QELIB})
endif()

if(CONFIG_LIBFDT)
    add_executable(fdt-test fdt-test.c)
    target_include_directories(fdt-test PRIVATE 
        ${PROJECT_ROOT}/include
        ${PROJECT_ROOT}/include/fdt
        ${AUTOGEN_KCONFIG})
    target_link_libraries(fdt-test ${QELIB})
endif()

if(CONFIG_LIBLZ4)
    add_executable(lz4-test lz4-test.c)
    target_include_directories(lz4-test PRIVATE 
        ${PROJECT_ROOT}/include
        ${PROJECT_ROOT}/include/lz4
        ${AUTOGEN_KCONFIG})
    target_link_libraries(lz4-test ${QELIB})
endif()

if(CONFIG_LIBZLIB)
    add_executable(zlib-test zlib-test.c)
    target_include_directories(zlib-test PRIVATE 
        ${PROJECT_ROOT}/include
        ${PROJECT_ROOT}/include/zlib
        ${AUTOGEN_KCONFIG})
    target_link_libraries(zlib-test ${QELIB})
endif()